<?php echo $header;echo $sidebar ?>
		<style>
			a.edit_icon {
		    background: url("<?php echo $this->config->base_url(); ?>assets/admin/admin_images/icons/edit.gif") no-repeat scroll left top transparent;
		    display: inline-block;
		    height: 16px;
		    width: 16px;
			}
			a.delete2_icon {
   	 			background: url("<?php echo $this->config->base_url(); ?>assets/admin/images/icon/delete.png") no-repeat scroll left top transparent;
    			display: inline-block;
    			height: 16px;
    			width: 16px;
			}
			ul.yiiPager {
			    border: 0 none;
			    display: inline;
			    font-size: 11px;
			    line-height: 100%;
			    margin: 0;
			    padding: 0;
			}
			
			ul.yiiPager a:link, ul.yiiPager a:visited {
			    border: 1px solid #9AAFE5;
			    color: #0E509E;
			    font-weight: bold;
			    padding: 1px 6px;
			    text-decoration: none;
			}
			.star {color: red;}
		</style>
		<div class="span10 content">

			<?php echo $hugemenu ?>

			<h1>Email Marketing</h1>

			<?php if($this->session->flashdata('message')) {?>
			<div class="alert alert-success">
				<?php echo $this->session->flashdata('message') ?>
			</div>
			<?php  }?>

			<div>
			
				<!-- Nav tabs -->
				<ul class="nav nav-tabs">
				  <li><a href="template">Templates</a></li>
				  <li><a href="settings">Settings</a></li>
				  <li><a href="mass_campaigns">Mass Campaigns</a></li>
				  <li><a href="sent_mail">Sent Mail</a></li>
				  <li><a href="hot_leads">Hot Leads</a></li>
				  <li><a href="alerts">Alerts</a></li>
				  <li><a href="subscription">Subscriptions</a></li>
				  <li><a href="mailing_list">Mailing List</a></li>
				  <li class="active"><a href="#">Filters</a></li>
				  <li><a href="../emailgroup">Group</a></li>
				</ul>
				
				<!-- Tab panes -->
				<div class="tab-content">
				  
				  <form name="open_mail_form" id="open_mail_form" action="" method="post">
					<!--Listing -->
					<table class="table table-striped table-bordered table-hover table-primary">
					    <tbody>
							
					        <?php if($msg){?>
					        <tr>
					            <td colspan="4" align="left" style="color:green" class="msg">
					                <?php echo $msg;?>
					            </td>
					        </tr>
					        <?php }?>	
					        	<thead>	
					        	<tr>
                					<th width="10%" scope="col">Creation Date </th>
                					<th width="10%" scope="col">Filter Criteria</th>
                					<th width="10%" scope="col"></th>
            					</tr>
					            </thead>
					            
					            <tr>
					                <td>2013-11-11 12:50:19</td>
					                <td>Subscription: Latest news <br/>Registration: 2013-11-10</td>
					                <td>
					              		<a class="delete2_icon" title="Delete" href="<?= site_url('email_marketing/filters')?>" onclick="return confirm('Are you sure to delete this row?')"></a>
					              	 </td>
					            </tr>
					            <tr>
					                <td align="right" colspan="3" ><?php if($pagination_links){?>Go to page:<?php }?>
					                  <ul class="yiiPager" id="yw0">
					                     <?php echo $pagination_links;?>
					                        </ul>
					                </td>
            					</tr>
					    </tbody>
					</table>
					</form>
				</div>
			</div>
		</div><!--/content-->
<?php echo $footer ?>
<script>
$(document).ready( function () {
    $(".collapse").collapse()({
      show: false
      });
});
</script>